//模块化路由
const express = require('express');//引入express
const app = express();//实例化路由对象
app.listen(3000,function(){
    console.log('3000端口开启了，可以访问:http://localhost:3000');
})//监听3000
const path = require('path')//引入路径模块
const fs = require('fs')//引入操作文件的模块
const router = require('./router/router')//引入自定义模块
app.use(router)//用自定义模块


